package com.free.semantic.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HomeController {

    @RequestMapping(path = {"/index", "/"})
    public String index() {
        return "forward:/index.html";
    }

    @RequestMapping("/script")
    public String demo() {
        return "forward:/scriptOperate.html";
    }

    @RequestMapping("/document")
    public String home() {
        return "forward:/document.html";
    }

    @RequestMapping("/login")
    public String login() {
        return "forward:/user/login.html";
    }

    @RequestMapping("/register")
    public String register() {
        return "forward:/user/register.html";
    }

    @RequestMapping("/forgetPassword")
    public String forgotPassword() {
        return "forward:/user/forget-password.html";
    }

    @RequestMapping("/modelmarket")
    public String modelMarket() {
        return "forward:/model-market.html";
    }

    @RequestMapping("/model-market")
    public String model_Market() {
        return "forward:/model-market.html";
    }
}
